<div class="subhead">Grades under <?php echo $orgdetails->name; ?></div>
<div class="bodywrap">
	<div class="orgnisation">
    	<ul>
    	
        <?php 
        if (isset($gradeList) && $gradeList)
        {
        	foreach ($gradeList as $grade)
        	{
        ?>
        	<li><a href="<?php echo ApplicationConfig::getURL('', 'site', 'subjectDetails',array('gradeid'=>$grade->id))?>"><?php echo $grade->name?></a></li>
        <?php
          }
        }
        else 
        {
        ?>
          <li><a href="" style="color:#ff0000">No Grades available under this Organisation</a></li>
        <?php
        }
        ?>
         
    	</ul>
	</div>
    
</div>

